﻿#pragma once
#include "afxdialogex.h"
#include "CListCtrlPlus.h"
#include "vector"

// DlgImport 对话框

class DlgImport : public CDialogEx
{
	DECLARE_DYNAMIC(DlgImport)

public:
	DlgImport(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~DlgImport();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DLG_IMPORT };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	CListCtrlPlus m_ListImport;
	CListCtrlPlus m_ListThunk;
	virtual BOOL OnInitDialog();
	void InitImportTable();
	void InitImportThunk(int nIndex);
	BOOL IsEndOfTable(PIMAGE_IMPORT_DESCRIPTOR pImportTable);
	afx_msg void OnNMClickListImport(NMHDR* pNMHDR, LRESULT* pResult);
};
